package org.itboys.mobile.util;

/**
 * 作者：jiangxiong
 * 日期：2016年4月6日
 * 联系方式 ：empty90911@126.com
 * 描述：用户昵称生成器
 */
public class NickNameUtil {
	public static String [] nickNameStroe ={"派大星","海绵宝宝","熊大","熊二","光头强","维尼熊","七个小矮人","史努比","汤姆和杰瑞","灰太狼","红太郎","喜羊羊",
		"黑猫警长","舒克和贝塔","加菲猫 ","蜡笔小新","机器猫 ","流氓兔 ","阿童木","匹诺曹","兔八哥 "};
	public static String  defaultLogo ="/tianjie/logo/defaultLogo";
	public static String getRandomNickName(){
        	Integer length= nickNameStroe.length;
        	java.util.Random random=new java.util.Random();// 定义随机类
        	return nickNameStroe[random.nextInt(length)];// 
        	
        }
        
        public static String getRandomLogo(){
        	java.util.Random random=new java.util.Random();// 定义随机类
        	return defaultLogo+random.nextInt(41)+".jpg";//
        	
        }
  
}
